<?php
global $_W,$_GPC;
$upgrade = array();
$upgrade['version'] = '1.0.0';

file_put_contents(IA_ROOT.'/addons/'.$this->modulename.'/version.php',"<?php if(!defined('VERSION')) {define('VERSION','".$upgrade['version']."');}");
message('解锁成功',referer(),success);